package com.han.gift.entity;


import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;

/**
 * (Menu)表实体类
 *
 * @author makejava
 * @since 2023-02-25 00:33:58
 */
@SuppressWarnings("serial")
@TableName("t_menu")
public class Menu extends Model<Menu> {


    @TableField("id")
    private Long id;


    @TableField("sn")
    private String sn;


    @TableField("name")
    private String name;


    @TableField("icon")
    private String icon;


    @TableField("url")
    private String url;


    @TableField("intro")
    private String intro;


    @TableField("parent_id")
    private Long parentId;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getSn() {
        return sn;
    }

    public void setSn(String sn) {
        this.sn = sn;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getIntro() {
        return intro;
    }

    public void setIntro(String intro) {
        this.intro = intro;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    /**
     * 获取主键值
     *
     * @return 主键值
     */

    }

